package labox.innovation.loginserver.gameserverpackets;

import labox.innovation.loginserver.SessionKey;

/**
 * @author -Wooden-
 *
 */
public class PlayerAuthRequest extends ClientBasePacket {

	private String _account;

	private int _sessionId;
//	private SessionKey _sessionKey;

	/**
	 * @param decrypt
	 */
	public PlayerAuthRequest(byte[] decrypt) {
		super(decrypt);
		_account = readString();
	    _sessionId = readInt();

//		int playKey1 = readD();
//		int playKey2 = readD();
//		int loginKey1 = readD();
//		int loginKey2 = readD();
//		_sessionKey = new SessionKey(loginKey1, loginKey2, playKey1, playKey2);
	}

	/**
	 * @return Returns the account.
	 */
	public String getAccount() {
		return _account;
	}

	/**
	 * @return Returns the key.
	 */
	public int getKey() {
		return _sessionId;
	}

}